package com.ryh.service.impl;

import com.ryh.entity.User;
import com.ryh.mapper.UserMapper;
import com.ryh.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserServiceImpl
 * @Description TODO
 * @Author RaoYH
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User findByName(String userName) {
        return userMapper.findByName(userName);
    }
}
